<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta
      name="viewport"
      content="width=device-width, user-scalable=no, initial-scale=1.0.maximum-scale=1.0,minimum-scale=1.0"
    />
    <!-- 兼容 -->
    <meta http-equiv="X-UA-Compatible" content="ie=edge" />
    <link rel="stylesheet" href="css/index.css" />
    <link rel="stylesheet" href="css/normalize.css" />
    <link rel="stylesheet" href="css/swiper.min.css" />

    <title>黑马面面</title>
  </head>
  <body>
    <!-- header  -->
    <header class="header">黑马面面</header>
    <!-- nav  -->
    <ul class="nav">
      <li>
        <a href="#">
          <img src="icons/icon1.png" alt="" />
          <span>HR面试</span>
        </a>
      </li>
      <li>
        <a href="#">
          <img src="icons/icon2.png" alt="" />
          <span>笔试</span>
        </a>
      </li>
      <li>
        <a href="#">
          <img src="icons/icon3.png" alt="" />
          <span>技术面试</span>
        </a>
      </li>
      <li>
        <a href="#">
          <img src="icons/icon4.png" alt="" />
          <span>模拟面试</span>
        </a>
      </li>
      <li>
        <a href="#">
          <img src="icons/icon5.png" alt="" />
          <span>面试技巧</span>
        </a>
      </li>
      <li>
        <a href="#">
          <img src="icons/icon6.png" alt="" />
          <span>薪资查询</span>
        </a>
      </li>
      <li class="flex1">
        <a href="#">
          <img src="images/go.png" alt="" />
        </a>
      </li>
    </ul>
    <!-- 就业指导 -->
    <section class="content">
      <div class="con-top">
        <h4>就业指导</h4>
        <a href="#">更多>></a>
      </div>
      <div class="con-bottom">
        <!-- 轮播图模块 -->
        <div class="get_job_focus">
          <!-- Swiper -->
          <div class="swiper-container get_job_fo">
            <div class="swiper-wrapper">
              <div class="swiper-slide">
                <a href="#">
                  <img src="images/pic.png" alt="" />
                </a>
                <p>老师教你应对面试技巧</p>
              </div>
              <div class="swiper-slide">
                <a href="#">
                  <img src="images/2.jpg" alt="" />
                </a>
                <p>老师教你应对面试技巧</p>
              </div>
              <div class="swiper-slide">
                <a href="#">
                  <img src="images/3.jpg" alt="" />
                </a>
                <p>老师教你应对面试技巧</p>
              </div>
            </div>
          </div>
          <!-- Add Arrows 根据需要我们把箭头放到container外面 添加左右箭头 -->
          <div class="swiper-button-next"></div>
          <div class="swiper-button-prev"></div>
        </div>
      </div>
    </section>
    <!-- 充电学习 -->

    <section class="content study_con">
      <div class="con-top">
        <h4>充电学习</h4>
        <a href="#">更多>></a>
      </div>
      <div class="con-bottom">
        <!-- 学习模块 轮播图 -->
        <div class="study">
          <!-- Swiper -->
          <div class="swiper-container study_of">
            <div class="swiper-wrapper">
              <div class="swiper-slide">
                <img src="images/pic1.png" alt="" />
                <h5>说地道英语，告别中式英语</h5>
                <p>156人学习</p>
              </div>
              <div class="swiper-slide">
                <img src="images/pic2.png" alt="" />
                <h5>说地道英语，告别中式英语</h5>
                <p>156人学习</p>
              </div>
              <div class="swiper-slide">
                <img src="images/pic1.png" alt="" />
                <h5>说地道英语，告别中式英语</h5>
                <p>156人学习</p>
              </div>
            </div>
          </div>
        </div>
      </div>
    </section>

    <!-- 底部 -->
    <ul class="footer">
      <li>
        <a href="#">
          <img src="icons/home.png" alt="" />
          <span>首页</span>
        </a>
      </li>
      <li>
        <a href="#">
          <img src="icons/net.png" alt="" />
          <span>技术面试</span>
        </a>
      </li>
      <li>
        <a href="#">
          <img src="icons/ms.png" alt="" />
          <span>模拟面试</span>
        </a>
      </li>
      <li>
        <a href="#">
          <img src="icons/user.png" alt="" />
          <span>我的主页</span>
        </a>
      </li>
    </ul>

    <script src="js/swiper.min.js"></script>
    <script src="js/flexible.js"></script>
    <!-- Initialize Swiper -->
    <script>
      (function () {
        var swiper = new Swiper(".get_job_fo", {
          // 在页面中能看到的个数 看不全3个 所以是两个
          slidesPerView: 2,
          // 每个slide的距离
          spaceBetween: 30,
          centeredSlides: true,
          loop: true,
          // 添加左右箭头
          navigation: {
            nextEl: ".swiper-button-next",
            prevEl: ".swiper-button-prev",
          },
        });
      })();

      // 第二个
      (function () {
        // 如果有多个轮播图 最好去修改以下 单独取个名字
        var swiper = new Swiper(".study_of", {
          slidesPerView: 2.3,
          spaceBetween: 20,
          pagination: {
            el: ".swiper-pagination",
            clickable: true,
          },
        });
      })();
    </script>
  </body>
</html>
